package ${servicePackage}.${prefix};

import ${modelPackage}.${prefix}.${modelName};
import cn.jg.framework.common.service.BaseService;

import java.util.List;

/**
 * Created by ${author} on ${date}.
 */
public interface ${modelName}Service extends BaseService<Integer, ${modelName}> {

    boolean exists(final Integer id);

    List<${modelName}> findAll(final Integer pageNum, final Integer pageSize);

}
